package com.ph.swagger.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

@Data
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {

    private boolean enabled = false;

    /**
     * swagger-ui api 跳转域名
     */
    private String apiDomain;

    /**
     * swagger-ui title
     */
    private String title;

    /**
     * swagger-ui desc
     */
    private String description;

    /**
     * swagger-ui version
     */
    private String version;

    /**
     * swagger-ui scan base package
     */
    private String basePackage;

    /**
     * swagger-ui doc default true
     */
    private boolean doc = true;

    /**
     * swagger-ui ResourceHandlers - location map
     */
    private Map<String, String> hlMap = new HashMap<>();



}
